load("@fbcode//buck2/tests:buck_e2e.bzl", "buck2_e2e_test")

oncall("build_infra")

buck2_e2e_test(
    name = "test_starlark",
    srcs = ["test_starlark.py"],
)

buck2_e2e_test(
    name = "test_rust_project",
    srcs = ["test_rust_project.py"],
    env = {
        "RUST_PROJECT_BIN": "$(location fbcode//buck2/integrations/rust-project:rust-project)",
    },
)

buck2_e2e_test(
    name = "test_install",
    srcs = ["test_install.py"],
    deps = [
        "fbcode//buck2/tests/e2e_util:utils",
    ],
)

buck2_e2e_test(
    name = "test_intellij_project",
    srcs = ["intellij_project/test_intellij_project.py"],
)

buck2_e2e_test(
    name = "test_linker_argsfile",
    srcs = ["test_linker_argsfile.py"],
)

buck2_e2e_test(
    name = "test_lsp_fbsource",
    srcs = ["test_lsp_fbsource.py"],
)

buck2_e2e_test(
    name = "test_cpp_gen_cdb",
    srcs = ["test_cpp_gen_cdb.py"],
)

buck2_e2e_test(
    name = "test_tools",
    srcs = ["test_tools.py"],
    test_with_deployed_buck2 = True,
    use_compiled_buck2_client_and_tpx = True,
)

buck2_e2e_test(
    name = "test_install_modifiers",
    srcs = ["test_install_modifiers.py"],
    deps = [
        "fbcode//buck2/tests/e2e_util:utils",
    ],
)
